<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>公共课程</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
	<load href= "__JS__/jshelper.js" /> 
		<script type="text/JavaScript">
			function studentupload(classid){
				window.location.href="__URL__/studentupload/id/"+classid;
			}
			</script>
</head>
<body>
<layout name="Auth:header" />
        	<div class="container-fluid">
     			<div class="row-fluid">
                	<layout name="Auth:leftmenu" />
                    	<div class="span8">
                          <div class="hero-unit">
                            <h1>公共课程</h1>
                            <p style="font-size:12px">当前位置：
                                <a href='__APP__/index/index' class="nowpositionhref">主页</a>>
                                <a href=""  class="nowpositionhref">提交作业</a>
                             </p>
                          </div>
					<table  width="100%"  class="table table-bordered table-striped">
						<thead>
							<tr id="table_class_show_title">
								<th>课程序号</th>
								<th>课程名称</th>
								<th>授课教师</th>
                                <th style="display:none">ID</th>
								<th>操作</th>
							</tr>
						</thead>
						<load href"__PUBLIC__/js/list_show.js">
						<tbody id="tab">
							<volist name='list' id='vo' >
								<tr id="table_class_show">
									<td>{$vo.id}</td>
									<td>{$vo.cname}</td>
									<td>{$vo.nname}</td>
									<td style="display:none;">{$vo.id}</td>
									<td>
										<input type="button" name="classfile" onClick="studentupload('{$vo.id}')" class="btn btn-success" value="提交作业">
									</td>
								</tr>
							</volist>
						</tbody>		
					</table>
				</div>	
					 <p class="navbar-text pull-right">{$page}</p>
</body>
</html>